import { Component } from "react";

class Chapter2 extends Component {
    constructor(props) {
        super(props);
    }
    render() {
        const { title } = this.props;
        return (
            <div className='wrapper wrapper2'>
                <div className='page-header'>
                    <h3>{title}</h3>
                </div>
                <div className='page-content'>
                    <ul
                        style={{
                            listStyle: "none",
                            display: "flex",
                            padding: "4px 10px",
                            backgroundColor: "#ff0000",
                        }}
                    >
                        <li>列表一</li>
                        <li>列表二</li>
                    </ul>
                </div>
            </div>
        );
    }
}

export default Chapter2;
